package com.hyt.it.ogt.ks.model.dto;

import java.io.Serializable;
import java.util.Map;

import com.hyt.it.ogt.ks.model.entity.CandidateAnswer;
import com.hyt.it.ogt.ks.model.entity.CandidatePaper;
import com.hyt.it.ogt.ks.model.entity.CandidateProcess;

import lombok.Data;

/**
 * @author wuyingge
 * @version 1.0.0
 * @ClassName VerifyAnswerOptionsDTO.java
 * @Description 验证考生保存答案匹配情况 数据传递实体
 * @createTime 2022年05月11日 10:26:00
 */
@Data
public class VerifyAnswerOptionsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    //题型 与 答案 类型是否匹配
    private Boolean isItemTypeMatch = Boolean.TRUE;

    //考生是否交卷或已过考试时间
    private Boolean isFinishExamOrOverEndTime = Boolean.FALSE;

    //当前考试是否已经发布
    private Boolean isExamPushed = Boolean.TRUE;

    //考生试卷
    private CandidatePaper candidatePaper;

    //考生过程表
    private CandidateProcess candidateProcess;

    //考生答案记录表(试题表) itemId --> key  candidateAnswer value
    private Map<String, CandidateAnswer> ansMap;

    //是否单选为空
    private Boolean isSingleNull;

    //是否判断为空
    private Boolean isJudgmentNull;

}
